package com.fengr.basic.service;

import com.fengr.basic.query.BasicQuery;
import com.fengr.basic.util.PageList;
import com.fengr.org.query.QueryDept;
import java.util.List;

public interface IBasicService<T> {
    T findOne(Long id);

    List<T> loadAll();

    void insert(T t);

    void delete(Long id);

    void update(T t);

    PageList pageList(BasicQuery query);

    void patchDelete(List<Long> ids);
}
